package com.mohan.pojo;

public class User {
	/**
	 * id:用户编号[自动生成](----不为空)
	 * userId:用户id(8位大写字母或数字)(----不为空)
	 * userName:用户名(不超过32个字符)
	 * userPwd:用户密码(不超过16个字符,base64编码保存)
	 * openId:微信用户标示[非微信用户统一为"notWx"](----不为空)
	 * unionId:微信用户在开放平台的唯一标识符
	 * nickName:微信用户昵称
	 * phoneNum:用户手机号码
	 * avatarUrl:用户微信头像
	 * gender:微信用户性别
	 * country:微信用户所在国家
	 * province:微信用户所在省份
	 * city:微信用户注册城市
	 * language:微信用户语言
	 * role:用户角色:[1--超级管理员，2--普通管理员，3--普通用户;默认3--普通用户](----不为空)
	 * userStatus:用户状态:[1--正常使用，2--暂时关闭，3--永久关闭;默认为1](----不为空)
	 * userType:用户类别:[1--微信用户,2--非微信用户](----不为空)
	 */
	private int id;
	private String userId;
	private String userName;
	private String userPwd;
	private String openId;
	private String unionId;
	private String nickName;
	private String phoneNum;
	private String avatarUrl;
	private String gender;
	private String country;
	private String province;
	private String city;
	private String language;
	private int role;
	private int userStatus;
	private String articleLoveIds;
	private String commentLoveIds;	
	private int userType;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public String getUnionId() {
		return unionId;
	}
	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getAvatarUrl() {
		return avatarUrl;
	}
	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public int getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}
	public int getUserType() {
		return userType;
	}
	public void setUserType(int userType) {
		this.userType = userType;
	}
	public String getArticleLoveIds() {
		return articleLoveIds;
	}
	public void setArticleLoveIds(String articleLoveIds) {
		this.articleLoveIds = articleLoveIds;
	}
	public String getCommentLoveIds() {
		return commentLoveIds;
	}
	public void setCommentLoveIds(String commentLoveIds) {
		this.commentLoveIds = commentLoveIds;
	}
}
